<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>周报展示</title>
    <style>
        body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;background-color:#f9f9f9;color:#444;margin:0;padding:0;line-height:1.6}
		.container{max-width:800px;margin:0px auto;padding:20px;background-color:#fff;box-shadow:0 4px 8px rgba(0,0,0,0.1);border-radius:8px}
		h1{text-align:center;font-size:24px;color:#2c3e50;margin:0px}
		h2{font-size:18px;color:#34495e;border-bottom:2px solid #3498db;padding-bottom:5px;margin:10px auto}
		h4{margin:5px auto;font-size:14px}
		.section{margin-bottom:10px}
		.section h3{font-size:16px;color:#3498db;margin:10px auto;text-align:left}
		.section p{font-size:14px;color:#666;margin:10px 0}
		.section ul{list-style-type:none;padding:0}
		.section ul li{background-color:#f1f5f9;margin:3px 0;padding:8px;border-left:4px solid #3498db;font-size:14px;color:#444;border-radius:4px}
		.footer{text-align:center;margin-top:20px;font-size:12px;color:#999}
		.red{color:red}
    </style>
</head>
<body>
    <div class="container">
        <h1>${mailSubject!}</h1>
		<h3 style="text-align: center;">【${timeRangeStart!}~${timeRangeEnd!}】</h3>
        <div class="section">
            <h2>本周工作总结</h2>
            <h3>总体任务完成情况</h3>
            <#list currentWorkMap as key, value>
			    <h4>${key?index+1}、${key}</h4>
			    <ul>
	            	<#list value as item>
	            		<li>${item_index+1})、${item!}</li>
	            	</#list>
            	</ul>
			</#list>
            <h3 style="color: red;">遇到的问题</h3>
			<#if problemList?has_content>
			    <#list problemList as item>
        			<p>${item_index+1})、${item!}</p>
        		</#list>
			<#else>
	            <p>暂无</p>
			</#if>
        </div>
        <div class="section">
            <h2>下周工作计划</h2>
            <h3>下周主要任务清单</h3>
            <#list nextWorkMap as key, value>
			    <h4>${key?index+1}、${key}</h4>
			    <ul>
	            	<#list value as item>
	            		<li>${item_index+1})、${item!}</li>
	            	</#list>
            	</ul>
			</#list>
        </div>
		<div class="section">
		    <h2>资源协调诉求</h2>
		    <h3 style="color: red;">主要诉求点</h3>
		    <ul>
		    	<#if appealList?has_content>
				    <#list appealList as item>
            			<li>${item_index+1})、${item!}</li>
            		</#list>
				<#else>
				    <li>暂无</li>
				</#if>
		    </ul>
		</div>
        <div class="footer">
            <p>© 2025 科大讯飞  AI+营销灵犀助理项目组</p>
        </div>
    </div>
</body>
</html>